﻿using ReflectionStudio.Core.Events;
using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using WPFExcelReport.Helpers;
namespace WPFExcelReport
{
    public partial class TVWVR05
    {
        public TVWVR05()
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            MV = new VVRPOS();
            DataContext = MV;
            InitializeComponent();
        }

        public override void LOADBYVKP(string vkp)
        {
            if (vkp.Length < 11) return;

            base.LOADBYVKP(vkp); 
            vwMaster.View.MoveCurrentToFirst();
        } 
    }
}